package com.dtx.qiku.goods.dao;

import com.dtx.qiku.goods.entity.User;

import java.io.IOException;

public interface UserDao {

    /**
     * 根据用户名，查找用户
     * @param userName
     * @return
     */
    public User findUserByUserName(String userName) throws IOException;

    public int saveUser(User user) throws IOException;
}
